|
Umístění Menu |
---|
Kreslení -> Elipsa |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
E L |
Představen ve verzi |
- |
Viz také |
Kreslení Kružnice |
Nástroj Elipsa vytvoří elipsu v aktuální pracovní rovině vložením dvou bodů definujících roh obdélníku, kterému je elipsa vepsána. Elipsa přebírá barvu a tloušťku čáry předem nastavenou v záložce úloh.
A Draft Ellipse can be turned into an elliptical arc by setting its ÚdajeFirst Angle and ÚdajeLast Angle properties to different values.
See also: Draft Tray, Draft Snap and Draft Constrain.
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 1.0).
See also: Preferences Editor and Draft Preferences.
See also: Property editor.
A Draft Ellipse object is derived from a Part Part2DObject and inherits all its properties. It also has the following additional properties:
Draft
Draft
Enumeration
): specifies the Draft Pattern with which to fill the face of the ellipse. This property only works if ÚdajeMake Face is true
and if PohledDisplay Mode is Flat Lines
.Float
): specifies the size of the Draft Pattern.Nástroj Elipsa může být využit v makrech a z konzoly Pythonu použitím následující funkce:
To create a Draft Ellipse use the make_ellipse
method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeEllipse
method.
ellipse = make_ellipse(majradius, minradius, placement=None, face=True, support=None)
Příklad:
import FreeCAD as App
import Draft
doc = App.newDocument()
ellipse1 = Draft.make_ellipse(3000, 200)
ellipse2 = Draft.make_ellipse(700, 1000)
zaxis = App.Vector(0, 0, 1)
p3 = App.Vector(1000, 1000, 0)
place3 = App.Placement(p3, App.Rotation(zaxis, 90))
ellipse3 = Draft.make_ellipse(700, 1000, placement=place3)
doc.recompute()